import Layout from '@/layout'

const activityRouter = {
  path: '/activity',
  component: Layout,
  redirect: '/activity/list',
  name: 'activity',
  children: [
    // 推荐活动（邀新）
    {
      path: 'invite/list',
      component: () => import('@/views/activity/invite'),
      name: 'invite',
      meta: { title: '推荐活动管理', activeMenu: '/activity/invite/list' },
      hidden: true
    },
    {
      path: 'invite/detail/:id(\\d+)',
      component: () => import('@/views/activity/invite/detail'),
      name: 'inviteDetail',
      meta: { noCache: true, title: '邀请用户详情',activeMenu: '/activity/invite/list'},
      hidden: true
    },
  ]
}
export default activityRouter;
